#include<stdio.h>
int main()
{
    int x,y;
    scanf("%d",&x);
    if(x>0) y=x+3;
    else if (x==0)
    y=x;
    else
    y=x-3;
    printf("y=%d\n",y);
    return 0;
}